* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Helvetica, "PingFang SC", "Microsoft Yahei", sans-serif;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

a:hover {
  text-decoration: none;
}

li {
  list-style: none;
}

:root {
  --primary-color: #00ecff;
  --second-color: #ffbeff;
  --header-height: 80px;
}

.text-center {
  text-align: center;
}

body {
  background-color: #efeef9;
  color: #333;
  line-height: 1.5;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  background-color: #fff;
}

.loading .loading-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 50px;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.loading .loading-content .inner-item {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background-color: #7b6cd5;
  border-radius: 50%;
  -webkit-transform: scale(0.1);
  -moz-transform: scale(0.1);
  -ms-transform: scale(0.1);
  -o-transform: scale(0.1);
  transform: scale(0.1);
  -webkit-transform-origin: center left;
  -moz-transform-origin: center left;
  -ms-transform-origin: center left;
  -o-transform-origin: center left;
  transform-origin: center left;
  -webkit-animation: loading 4s infinite;
  animation: loading 4s infinite;
}

.loading .loading-content .inner-item:nth-of-type(2) {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.loading .loading-content .inner-item:nth-of-type(3) {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.loading .loading-content .inner-item:nth-of-type(4) {
  -webkit-animation-delay: 0.9s;
  animation-delay: 0.9s;
}

.loading .loading-content .inner-item:nth-of-type(5) {
  -webkit-animation-delay: 1.2s;
  animation-delay: 1.2s;
}

@-webkit-keyframes loading {
  0% {
    -webkit-transform: scale(0.1);
    -moz-transform: scale(0.1);
    -ms-transform: scale(0.1);
    -o-transform: scale(0.1);
    transform: scale(0.1);
  }

  45% {
    left: 120px;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }

  90% {
    left: 294px;
    -webkit-transform: scale(0.1);
    -moz-transform: scale(0.1);
    -ms-transform: scale(0.1);
    -o-transform: scale(0.1);
    transform: scale(0.1);
  }
}

@keyframes loading {
  0% {
    -webkit-transform: scale(0.1);
    -moz-transform: scale(0.1);
    -ms-transform: scale(0.1);
    -o-transform: scale(0.1);
    transform: scale(0.1);
  }

  45% {
    left: 120px;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }

  90% {
    left: 294px;
    -webkit-transform: scale(0.1);
    -moz-transform: scale(0.1);
    -ms-transform: scale(0.1);
    -o-transform: scale(0.1);
    transform: scale(0.1);
  }
}

/* Header */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: #5e1c83;
  color: #fff;
  border-bottom: rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  z-index: 8;
}

header::after {
  content: "";
  display: block;
  height: 8px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    to right,
    var(--second-color),
    var(--primary-color)
  );
}

.header-bar {
  position: relative;
  width: 100%;
  height: 100%;
}

.header-bar .hello-mess {
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.header-bar .logo {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 48px;
  transform: translate(-50%, -50%);
}

.header-bar .logo > img {
  display: block;
  width: auto;
  height: 100%;
}

.header-bar .menu-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
  /* color: #333; */
  transition: all 0.25s linear;
}

.header-bar .menu-btn > span {
  padding-right: 16px;
  font-size: 14px;
}

.header-bar .menu-btn .burger {
  position: relative;
  width: 24px;
  height: 24px;
}

.header-bar .menu-btn .burger span {
  position: absolute;
  top: 11px;
  left: 0;
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  transition: all 0.25s linear;
}

.header-bar .menu-btn .burger span:nth-child(1) {
  transform: translateY(-9px);
}

.header-bar .menu-btn .burger span:nth-child(2) {
  transform: translateY(9px);
}

/* menu-btn hover */

.header-bar .menu-btn:hover {
  color: var(--primary-color);
}

.header-bar .menu-btn:hover .burger span {
  background-color: var(--primary-color);
}

.header-bar .menu-btn:hover .burger span:nth-child(1) {
  transform: translateY(-7px);
}

.header-bar .menu-btn:hover .burger span:nth-child(2) {
  transform: translateY(7px);
}

/* menu-btn active */

.header-bar .menu-btn.active .burger span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.header-bar .menu-btn.active .burger span:nth-child(2) {
  transform: translateY(0) rotate(-45deg);
}

.header-bar .menu-btn.active .burger span:nth-child(3) {
  opacity: 0;
}

.mask {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9;
  display: none;
  opacity: 0;
  transition: all 0.25s ease-out;
}

.mask-show .mask {
  display: block;
  opacity: 1;
}

/* nav */

.nav-wrap {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 380px;
  height: 100%;
  background-color: #fff;
  overflow: hidden;
  z-index: 10;
  padding-right: 32px;
  transform: translateX(100%);
  transition: all 0.25s ease-out;
}

.nav-wrap::after {
  content: "";
  display: block;
  width: 32px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(
    to bottom,
    var(--second-color),
    var(--primary-color)
  );
}

.nav-wrap .nav-hd {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 15px;
  padding-right: 47px;
  background-color: #fff;
}

.nav-wrap .nav-hd .nav-logo {
  display: block;
  width: 120px;
  height: auto;
  max-height: 80px;
}

.nav-wrap .nav-hd .burger {
  position: relative;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.nav-wrap .nav-hd .burger span {
  position: absolute;
  top: 11px;
  left: 0;
  display: block;
  width: 24px;
  height: 2px;
  background-color: #333;
  transition: all 0.25s linear;
}

.nav-wrap .nav-hd .burger span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-wrap .nav-hd .burger span:nth-child(2) {
  transform: rotate(-45deg);
}

.nav-wrap .nav-hd .burger:hover span {
  background-color: var(--primary-color);
}

.nav-wrap .nav-hd .burger:hover span {
  transform: rotate(0);
}

.nav-wrap .nav-bd {
  padding-top: var(--header-height);
  padding-left: 15px;
  padding-right: 47px;
}

.nav-wrap .nav-bd .nav-list {
}

.nav-wrap .nav-bd .nav-list li {
}

.nav-wrap .nav-bd .nav-list li a {
  display: block;
  color: #333;
  font-size: 14px;
  line-height: 48px;
  font-weight: 500;
  transition: all 0.25s linear;
}

.nav-wrap .nav-bd .nav-list li a:hover,
.nav-wrap .nav-bd .nav-list li.active a {
  color: var(--primary-color);
}

.nav-show .nav-wrap {
  transform: translateX(0);
}

.swiper-container {
  width: 100%;
  height: calc(100vh - var(--header-height));
}

#swiper-container {
  margin-top: var(--header-height);
}

#swiper-container2 .swiper-slide {
  height: auto;
}

.swiper-slide {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.product-arrow-prev,
.product-arrow-next {
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  font-size: 28px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
}

.product-arrow-prev {
  left: 0;
}

.product-arrow-next {
  right: 0;
}

.section-box {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.section-title {
  font-size: 28px;
  line-height: 40px;
  color: #fff;
  margin-bottom: 32px;
  text-align: center;
}

.section-desc {
  max-width: 760px;
  font-size: 14px;
  line-height: 28px;
  color: #fff;
}

.section-btn {
  position: relative;
  line-height: 40px;
  padding: 0 40px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 4px;
  margin-top: 32px;
  outline: none;
  overflow: hidden;
  box-sizing: border-box;
  transition: all 0.75s;
}

.section-btn:hover {
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--second-color)
  );
}

/* news-section */

.news-section {
}

.news-section .section-title {
  color: #333;
  margin-top: 64px;
}

/* news-item */

.news-item {
  display: block;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #e5e5e5;
  margin: 15px 0;
}

.news-item .news-img {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.news-item .news-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item .news-img span {
  position: absolute;
  display: block;
  bottom: 0;
  right: 0;
  font-size: 12px;
  color: #fff;
  padding: 4px 8px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--second-color)
  );
  border-top-left-radius: 4px;
}

.news-item .news-content {
  padding: 8px;
}

.news-item .news-content .news-title {
  font-size: 14px;
  line-height: 20px;
  height: 40px;
  color: #333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.news-item .news-content .news-desc {
  height: 48px;
  line-height: 16px;
  font-size: 12px;
  color: #888;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-item .news-content .news-more {
  display: block;
  font-size: 12px;
  color: #44ccee;
  margin-top: 8px;
}

.news-section .section-btn {
  border: 1px solid #333;
  color: #333;
}

.logo-section img {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 80px auto;
}

/* Footer */

.footer {
  background-color: #fff;
  margin-top: 64px;
}

.footer-wrap {
  padding: 32px 0;
}

.footer-wrap .footer-menu {
  text-align: center;
  padding: 8px 0;
}

.footer-wrap .footer-menu p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.footer-wrap .footer-menu ul {
  font-size: 14px;
  line-height: 20px;
  margin: 8px 0;
}

.footer-wrap .footer-menu ul li {
  padding: 4px 0;
}

.footer-wrap .footer-menu ul li a {
  color: #333;
}

.footer-wrap .footer-menu ul li a:hover {
  color: var(--primary-color);
  transition: all 0.75s;
}

.footer-copyright {
  padding: 20px 0;
  font-size: 14px;
  border-top: 1px solid #e5e5e5;
}

/* detali page */

.main-container {
  margin-top: var(--header-height);
}
.page-bg {
  background-image: url("../images/page-content-bg.png");
  background-repeat: repeat-y;
  background-size: 100%;
}

.page-banner::after {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  background-image: linear-gradient(
    to right,
    var(--primary-color),
    var(--second-color)
  );
}
.page-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.page-title {
  text-align: center;
  margin-top: 64px;
}

.page-title h1 {
  position: relative;
  font-size: 28px;
  line-height: 40px;
  padding-bottom: 16px;
}

.page-title span {
  font-size: 16px;
  line-height: 20px;
  text-transform: Uppercase;
}

.page-title h1::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 200px;
  height: 1px;
  border-top: 1px solid #333;
  margin-left: -100px;
}

.page-tabs {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.page-tabs ul {
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.page-tabs ul li {
  position: relative;
  flex: 1;
  text-align: center;
}

.page-tabs ul li + li ::after {
  content: "";
  display: block;
  height: 16px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  z-index: -1;
}

.page-tabs ul li a {
  display: block;
  font-size: 14px;
  line-height: 40px;
  color: #333;
  white-space: nowrap;
}

.page-tabs ul li a:hover {
  color: #44ccee;
}

.page-tabs ul li.active a {
  color: #fff;
  background: linear-gradient(
    to left,
    var(--second-color),
    var(--primary-color)
  );
}

.page-content {
  margin-top: 32px;
}

.patent-wrap {
  background-color: #a6a4b3;
  color: #fff;
}

.patent-wrap .patent-item {
  margin: 24px;
  text-align: center;
  cursor: pointer;
  padding: 8px;
  border: 2px solid transparent;
  transition: all 0.75s;
}
.patent-wrap .patent-item:hover {
  border-image: linear-gradient(var(--primary-color), var(--second-color)) 20 20;
  transform: scale(1.05);
}

.patent-wrap .patent-item .patent-img {
  display: block;
  width: 100%;
  height: auto;
}

.patent-wrap .patent-item .patent-name {
  text-align: center;
  margin-top: 8px;
}

.article-title {
  text-align: center;
  font-size: 36px;
  line-height: 48px;
  margin-top: 120px;
}

.article-date {
  font-size: 18px;
  line-height: 24px;
  color: #999;
  margin-top: 32px;
  text-align: center;
}

.article-content {
  margin-top: 64px;
}

/* 小屏幕（平板，大于等于 768px） */

@media (min-width: 768px) {
  :root {
    --header-height: 150px;
  }
  /* header */
  .header-bar .logo {
    height: 56px;
  }
  .nav-wrap .nav-hd {
    padding-left: 40px;
    padding-right: 72px;
  }
  .nav-wrap .nav-bd {
    padding-left: 40px;
    padding-right: 72px;
  }
  .nav-wrap .nav-bd .nav-list li a {
    font-size: 16px;
  }
  /* index section */
  .section-title {
    margin-bottom: 48px;
  }
  .section-desc {
    font-size: 16px;
    line-height: 40px;
  }
  .section-btn {
    line-height: 48px;
    padding: 0 64px;
    margin-top: 48px;
  }
  /* index news-section */
  .news-section .section-title {
    margin-top: 120px;
  }
  .news-wrap .news-item .news-img {
    height: 320px;
  }
  .news-wrap .news-item .news-img span {
    font-size: 14px;
    padding: 8px 16px;
  }
  .news-wrap .news-item .news-content {
    padding: 16px;
  }
  .news-wrap .news-item .news-content .news-title {
    display: block;
    height: 24px;
    line-height: 24px;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .news-wrap .news-item .news-content .news-desc {
    height: 72px;
    line-height: 24px;
    font-size: 15px;
    margin-top: 16px;
  }
  .news-wrap .news-item .news-content .news-more {
    display: block;
    font-size: 15px;
    color: #44ccee;
    margin-top: 16px;
  }
  /* footer */
  .footer .footer-wrap {
    padding: 64px 0;
  }
  .footer .footer-wrap .footer-menu {
    padding: 16px 0;
  }
  .footer .footer-wrap .footer-menu p {
    font-size: 20px;
  }
  .footer .footer-wrap .footer-menu ul {
    font-size: 16px;
    margin: 16px 0;
  }
  .footer .footer-wrap .footer-menu ul li {
    padding: 8px 0;
  }
  /* page */
  .page-tabs {
    margin-top: 64px;
  }
  .page-tabs ul li a {
    font-size: 16px;
    line-height: 48px;
  }
  .page-title {
    margin-top: 120px;
  }
  .page-title h1 {
    font-size: 36px;
    line-height: 48px;
    padding-bottom: 20px;
  }
  .page-title span {
    font-size: 20px;
    line-height: 24px;
  }
  .page-content {
    margin-top: 64px;
  }
  /* footer */
  .footer {
    margin-top: 120px;
  }
}

/* 中等屏幕（桌面显示器，大于等于 992px） */

@media (min-width: 992px) {
}

/* 大屏幕（大桌面显示器，大于等于 1200px） */

@media (min-width: 1200px) {
}
